Code Optimization in Compilers using ANN
نویسندگان
چکیده
Today’s compilers have a plethora of optimizations to choose from, and the correct choice of optimizations can have a significant impact. Furthermore, choosing the correct order in which to apply those optimizations has been a long standing problem in compilation research. Traditional compilers typically apply the same set of optimization in a fixed order to all functions in a program, without regard the code being optimized. Understanding the interactions of optimizations is very important in determining a good solution to the phase ordering problem. We will develop a system that automatically selects good optimization orderings on a per method basis within a dynamic compiler by including profiles of programs. Keywords— Compilers; Code Optimization; Artificial Neural Networks; Feature set; Profiles
منابع مشابه
Quick Compilers Using Peephole Optimization
machine modeling is a popular technique for developing portable compilers. A compiler can be quickly realized by translating the abstract machine operations to target machine operations. The problem with these compilers is that they trade execution efficiency for portability. Typically the code emitted by these compilers runs two to three times slower than the code generated by compilers that e...
متن کاملEffectiveness of Inlining, Common Subexpression and Deadcode Elimination in Optimizing Compilers
One of the most difficult and least understood problems in the design of the compilers is the generation of good object code. The most common criteria by which the goodness of a program is judged are its running time and size. Since the optimization is important during compilation, the way of obtaining optimal code must be done in appropriate way. Performing optimization is to decide when to op...
متن کاملUsing the SGI Pro64 Open Source Compiler Infra-Structure for Teaching and Research
Modern optimizing compilers are complex programs that require from tens to hundreds of people-years to be developed. Thus professors must use third-party compiler infra-structures to introduce students to compiler optimizations. Until recently only infra-structures developed at universities, research institutes, or by GNU were widely available for teaching. However, in May 2000, SGI made public...
متن کاملAn Experiment with Inline Substitution
This paper describes an experiment undertaken to evaluate the effectiveness of inline substitution as a method of improving the running time of compiled code. Our particular interests are in the interaction between inline substitution and aggressive code optimization. To understand this relationship, we used commercially available FORTRAN optimizing compilers as the basis for our study. This pa...
متن کاملOpenMP Optimization Techniques: Comparison of Fortran and C Compilers
The purpose of this benchmark is to compare the optimization techniques in current Fortran and C OpenMP compilers. Examples are the removal of redundant synchronization constructs and effective constructs for alternative code. Although all tests focus on language independent techniques, there are differences in the implementation of the compilers.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014